<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //-  * /  运算符自动转化为number
        let age = '123' + 222;
        console.log(typeof age, age);//输出变量数据类型 和  变量
        //2. 字符串拼接
        result = "联盟" + true;
        console.log(typeof result);
    </script>
</body>
</html>